
<div ng-if="event.running">
    The event is running.
</div>
<div ng-if="!event.running && !event.finished">
    <div>
        <strong>Time left: </strong>{{event.timeLeft}}
    </div>
</div>
<div ng-if="event.finished">
    The event has finished.
</div>

<div ng-switch="event.algorithm">
    <div ng-switch-when="ALGORITHM_RACE">
        <tsz-event-presentation-race event="event"></tsz-event-presentation-race>
    </div>
    <div ng-switch-when="ALGORITHM_BARS">
        <tsz-event-presentation-bars event="event"></tsz-event-presentation-bars>
    </div>
    <div ng-switch-when="ALGORITHM_NUMBERS">
        <tsz-event-presentation-numbers event="event"></tsz-event-presentation-numbers>
    </div>
    <div ng-switch-when="ALGORITHM_ROULETTE">
        <tsz-event-presentation-roulette event="event"></tsz-event-presentation-roulette>
    </div>
    <div ng-switch-when="ALGORITHM_TOURNAMENT">
        <tsz-event-presentation-tournament event="event"></tsz-event-presentation-tournament>
    </div>
    <div ng-switch-default="" class="text-danger">
        err: no such algorithm
    </div>
</div>

